package org.blade.personal.component;

import javax.persistence.criteria.Order;

public class OrderBy {
	
	private String fieldName;
	private Order order;
	/**
	 * 
	 */
	public OrderBy() {
	}
	
	/**
	 * @param fieldName
	 * @param order
	 */
	public OrderBy(String fieldName, Order order) {
		super();
		this.fieldName = fieldName;
		this.order = order;
	}

	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public Order getOrder() {
		return order;
	}
	public void setOrder(Order order) {
		this.order = order;
	}

}
